home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 3.2
/
Ham Radio Version 3.2 (Chestnut CD-ROMs)(1993).ISO
/
control
/
ts440c
/
ts440ctl.doc
next >
Wrap
Text File
|
1988-01-17
|
15KB
|
313 lines
CB
Kenwood TS-440 Low Band Computer
Interface Control Program.
Required Equipment:
IBM PC or Compatible with 128K memory (MIN) and a DSDD
floppy disk drive.
CGA or EGA Color Monitor
Chapter 1. Description
Upon release of the Kenwood TS-440 low band
transceiver, Kenwood also announced a computer
interface option. This interface allows control of
most front panel aspects of the rig. The only problem
was that no software to control the rig was ever sold
to use the powerful protocol. That is until now.
TS440ctl.exe allows the user complete remote control
ability from a Personal Computer screen. The following
are the commands and controls available to the user:
VFO A Frequency
VFO B Frequency
Memory Channel Selection
Tuning
RIT switch, tune, and dial
Band selection
Scan
Split
Lock
Mode
In addition to the above, status of the 440 is
constantly updated on the PC screen. With this
program, the user may access almost every function of
the 440 from the PC.
Chapter 2, Setting Up for TS440ctl
As mentioned above, TS440ctl contains a real time clock
that reflects GMT time. In order for the GMT time to
be correct, you must first make sure that your system
clock is set correctly for YOUR time zone. Also, a new
command must me inserted into your autoexec.bat file.
If you are not familiar with this file, consult your
DOS reference manual for details.
TS440ctl needs to know the time zone that it is running
in so that it may determine the correct number of hours
to correct for Greenwich Mean Time. The program
figures this out by looking for a value called
timezone. You set timezone to one of the following
values:
EDT - Eastern Standard Time
CDT - Central Standard Time
MDT - Mountain Standard Time
PDT - Pacific Standard Time
Enter the following line into your autoexec.bat file,
or just enter at the DOS prompt:
set timezone=XXX
where XXX is the timezone where you reside. The
advantage to entering this into your autoexec.bat is
that is saves the step each time you want to run the
program. The program defaults to MDT time, for that is
the time zone I live.
The TS-440 communicates with the PC via an RS-232 EIA
connection. This is typically connected to your PC's
COM1 port. A 3 wire RS-232 cable connects to the
kenwood communications interface. For more
information, refer to the installation manual included
with the interface unit.
Chapter 3, Using TS440ctl.exe
Start-Up
TS440ctl is started by typing
TS440CTL
at the DOS command line. If you have a hard disk, make
sure that you are in the directory, or have a path to
the directory in which the program resides. If you
wish to use the second COM port (COM2), type
TS440CTL 2
When the program begins execution, you should hear the
radio beep several times. This is normal. If the
radio does not beep, check to see that all cables are
properly connected and you are using the proper serial
COM port for your computer.
The start up status of the program is VFO A. What ever
frequency was tuned at the time of last use is the
current frequency, as well as the mode, scan status,
rit status and so on. This information should
immediately be updated on the screen.
The Screen
The screen for TS440CTL is divided into several
sections. Each section contains related information.
For example, the top of the screen contains the current
status of all the functions available, that is VFO A
frequency, VFO B frequency, and current memory channel
and channel frequency. Based on the selected function,
the word above the function will be illuminated to
indicate the current selection. The current mode is
also positioned on the first sector of the screen.
The second sector contains a "meter" indicating the
current band. Based upon the current band, a pointer is
placed under the band position on the meter. The
current XIT and LOCK status are on the right side of
the screen.
The center of the screen contains the current display
frequency, RIT status, and current RIT offset. In
addition, another function indicator is provided so
that, by looking at this sector alone, the user can
obtain most of the significant information regarding
the status of the radio.
The next sector contains the current scan status, spilt
status, and a graphic indication of the current RIT
offset. A real time clock is also included.
An lastly, the bottom of the screen contains a
reference of all the control commands used. The
following sections describe these control commands in
detail.
Chapter 4, Keyboard Commands
Several PC keys are used to control the various front
panel aspects of the TS-440. These commands are
described here:
Function Keys
F1 - Decrements the current frequency by the
current step rate.
F2 - Increments the frequency by the current
step rate.
F3 - Decrements the RIT offset.
F4 - Increments the RIT offset.
F5 - Toggles the status of the RIT (on/ off).
F6 - Toggles the XIT status.
F7 - Select frequency for VFO A.
This command will prompt the user for a
frequency to be placed into VFO A.
F8 - Same as above for VFO B.
F9 - Select Memory Channel. This command
prompts the user for the memory channel
desired.
F10 - Exit, quit the program.
A - Switch to VFO A
B - Switch to VFO B
C - Clear current RIT offset. This command
allows you to have the radio ignore the
current position of the RIT controller,
and use exclusively the remote control.
Note that if the control is moved on the
rig, the current controller position is
restored, and the program is updated as
to its status.
M - Select memory as current function
O - Select Mode. This key scrolls through
all the possible modes of the TS440 (AM,
FM, CW, ect...).
P - Toggle split status.
S - Toggle Scan Status.
T - Transmit/ Receive toggle. (Careful!)
Alt F7- Memory to VFO copy.
This command prompts for which VFO to
copy to, and the channel you wish
copied.
Other notes
While using ts440ctl, you may notice that the screen
updates do not always track the status of the radio.
In reality, the problem lies with the radios ability to
relay information back to the PC. The interface
specification states that an update of information
takes place every 1.5 seconds. This can be
misunderstood to mean that at any time, information is
updated every 1.5 seconds. This, in fact is not the
case. When activity takes place on the radio, either
using the front panel controls or the PC, an update
will not take place until the radio sits idle for
approximately 1.5 seconds. A good example of this is
spinning the dial while watching the PC screen running
ts440ctl. You should notice an update taking place
AFTER the spin has stopped. To counter this example,
placing the radio in scan mode updates the screen
approximately every 1.5 seconds. From the limited
information in the documentation of this interface, it
is not possible to determine the exact pattern or rule
chosen for this, but the end result is a sometimes
sluggish interface to this program.
During development of this program, every effort was
made to insure that status of the screen reflects the
actual status of the radio. If, at some time, you
notice that the screen does not reflect that status,
perform some action on the keyboard, for example tune
up and then down. This change should prompt the radio
to update the status of the PC.
If you use one of the many keyboard speed up programs
available, be warned that if you hold a key down, then
every key will count. For example, if you tune by
holding the F1 key down, it may go further that you
want.
This program was written in Borland International Turbo
C environment. It has been tested on an PC/AT clone
and a Tandy 1000. If your PC is a close compatible, it
should run fine. If you encounter problems, have
suggestions, or just have questions drop me a line at
Kenneth Byers
or
David Byers (W9HXL)
4813 West Greenway Road
Glendale, AZ 85306
If you find this program useful, please help a starving
computer science student by mailing a donation to the
above address. In addition to the charity value, it
will insure that you are notified of upgrades to this
program. Some of the upgrades I am currently working
on are:
Bulk Memory Transfers which will allow you to keep
libraries of memory channels on disk, and upload
and download them to and from the radio.
VFO to Memory channel storage which will allow
you, at the touch of a key, to store the contents
of the current VFO to any memory channel.
Utilities that allow you to manipulate memories,
as well as selecting a memory VIA station ID, or
any other comment field.
Band Tracking, allowing you to select only legal
HAM bands, short wave bands, or a user defined
band pattern.
It took quite a while to accumulate the knowledge
required to write a program of this type, so the
recognition would make it all seem worth while. I
would suggest a possible donation of 20.00, but
anything helps.
Thank you, and enjoy.